<?php
function dt_like_panel() {
	if( of_get_option('misc_like_panel_checkbox', false) ):
        $act = $fixed = '';
		if( !of_get_option('misc_display_like_panel_checkbox', false) ) {
			$act =  ' act" style="right: -171px;';
		}
		
		if( of_get_option('misc_fixed_like_panel_checkbox') ) {
			$fixed = ' class="fixed"';
		}
?>
	<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/like.js"></script>
    <div id="show-l"<?php echo $fixed; ?>> 
  		<div class="customize-l<?php echo $act; ?>" id="new_buttons">
  			<a title="close" class="close skin_close" href="#"></a>
  			<div class="social-button">
                <?php echo of_get_option('misc_likes_code_textarea', ''); ?>   
	 		</div>
		<div class="customize-b"></div>
		</div>
	</div>
<?php
	endif;
}